Downgrade: relax test PDMats compat floor to 0.11 - #109
Merged
ChrisRackauckas merged 1 commit intoJun 15, 2026
Conversation
…clared compat) The root Project.toml declares `PDMats = "0.11"` (floor 0.11.0), but test/Project.toml pinned `PDMats = "0.11.37"`. The SciML downgrade workflow pins only the root project's compats to their floors, so at downgrade-minimum PDMats is pinned to 0.11.0 in the root env while the test sandbox still requires 0.11.37. Pkg.test merges both, producing the empty intersection `PDMats@0.11.0 ∩ 0.11.37` -> Unsatisfiable. The 0.11.37 test floor came from a Dependabot "permit the latest version" bump; PDMats is a runtime dep with declared compat "0.11", and the test code (test/dgp.jl) only does `using PDMats` with no 0.11.37-specific API. Relaxing the test floor to "0.11" reconciles the two project files with the package's real declared minimum. Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
ChrisRackauckas
marked this pull request as ready for review
June 15, 2026 04:57
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The Downgrade CI for SymbolicAnalysis fails at the LTS minimum with:
Root cause
The package's two project files declare inconsistent PDMats floors:
Project.toml:PDMats = "0.11"(floor 0.11.0) — PDMats is a runtime[deps]dependencytest/Project.toml:PDMats = "0.11.37"The SciML downgrade workflow (
julia-downgrade-compat, mode=deps) pins only the root project's direct-dep compats to their floors. At downgrade minimum it therefore pins PDMats to 0.11.0 in the root env, while the test sandbox still requires 0.11.37.Pkg.testmerges both project compats, producing the empty intersectionPDMats@0.11.0 ∩ 0.11.37→ Unsatisfiable.The
0.11.37floor intest/Project.tomlwas introduced by a Dependabot "permit the latest version" bump (commit 179d8de), not by any code requirement. PDMats has no 0.12; the entire0.11line (0.11.0–0.11.37) is semver-compatible patch releases, and the only PDMats use in the test suite (test/dgp.jl) is a bareusing PDMatswith no 0.11.37-specific API.Fix
Relax the test floor to
PDMats = "0.11"so it matches the package's real declared compat. This is a lower-bound relaxation justified because the old0.11.37test floor was genuinely not co-installable with the package's own declared0.11floor at the downgrade minimum (the downgrade error is the proof);0.11remains the package's true minimum.Verification (local, LTS Julia 1.10)
Minimal reproduction via
Pkg.testwith the root pinned to=0.11.0(the downgrade floor):0.11.37):Unsatisfiable requirements detected for PDMats— reproduced.0.11): resolves to PDMats 0.11.0,Testing ... tests passed.Resolve-level verification only; PR CI confirms the full run.
Ignore until reviewed by @ChrisRackauckas.